import sys
from PyQt5 import QtWidgets
from day1.Dialog import Ui_Dialog


class MyDialog(QtWidgets.QWidget):

    def __init__(self):
        self.ui= Ui_Dialog()


if __name__ == "__main__":
   app = QtWidgets.QApplication(sys.argv)
   mainWindow = QtWidgets.QMainWindow()
   page = Ui_Dialog()
   page.setupUi(mainWindow)
   page.setupUi(mainWindow)
   mainWindow.show()
   sys.exit(app.exec_())
